package com.education.model;


public class QuestionExam extends QuestionModel {
    /**
     * 课程编号
     */ 
    private int courseId;

    /**
     * 章节编号
     */
    private int sectionId;


    /**
     * 题库类型
     * 1为期末，2为章节，3为专升本，4为高升专
     */
    private int scoreType;


    /**
     * 题库名称
     */
    private String scoreTypeName;


    public int getCourseId() {
        return courseId;
    }


    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }


    public int getSectionId() {
        return sectionId;
    }


    public void setSectionId(int sectionId) {
        this.sectionId = sectionId;
        if (this.sectionId==0){
        }
    }


    public int getScoreType() {
        return scoreType;
    }


    public void setScoreType(int scoreType) {
        this.scoreType = scoreType;
        if (this.scoreType == 1) {
            this.scoreTypeName = "期末考试";
        }
        if (this.scoreType == 2) {
            this.scoreTypeName = "章节考试";
        }
        if (this.scoreType == 3) {
            this.scoreTypeName = "专升本考试";
        }
        if (this.scoreType==4){
            this.scoreTypeName="高升专考试";
        }
    }


    public String getScoreTypeName() {
        return scoreTypeName;
    }


    public void setScoreTypeName(String scoreTypeName) {
        this.scoreTypeName = scoreTypeName;
    }


}
